import {baseRequest} from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/qc/keyword/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	addKeyword(data) {
		return request('add', data, 'post')
	},
	editKeyword(data) {
		return request('edit', data, 'post')
	},
	delKeyword(id) {
		return request('del/' + id, null, 'get')
	},
	importKeyword(data) {
		return request('importExcel', data, 'post')
	}
}
